package ch05;

public class HelloSpring {

    private String hello;  //属性私有,提供公开的访问方法

    public String sex;

    public void show(){
        System.out.println("赋值后: "+ this.getHello());
    }


    public String getHello() {
        return hello;
    }

    public void setHello(String hello) {
        this.hello = hello;
    }
}
